<?php
/**
 * Cli View class file
 *
 * @package Apricot
 */

/**
 * Cli View
 *
 * @uses Apricot_View
 * @package Apricot
 * @author Jansen Price <jansen.price@gmail.com>
 * @version $Id$
 */
class CliView extends Apricot_View
{
    /**
     * Initialize
     *
     * @return void
     */
    public function init()
    {
    }

    /**
     * Pass on to terminal
     *
     * @param mixed $method The name of the method to call
     * @param array $args An array of arguments
     * @return void
     */
    public function __call($method, $args)
    {
        $terminal = $this->getKernel()->getTerminal();
        return call_user_func_array(array($terminal, $method), $args);
    }
}
